package com.biz.primus.management.promotion;

import com.biz.primus.management.base.config.BaseConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * @author david-liu
 */
@SpringCloudApplication
@ComponentScan({"com.biz.primus.management.promotion", "com.biz.primus.management.base.controller"})
@Import(BaseConfiguration.class)
@EnableFeignClients
public class PromotionManagementApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        new SpringApplicationBuilder().web(true).run(args);
    }
}
